﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FirstForm
{
    class Enemy : Character
    {
        public Enemy()
        {
        }

        public int MeleeRoll()
        {
            Random r = new Random();
            return r.Next(1, 5) + (int)Math.Round((double)(.5f * this.Str));    //Unarmed strike is 1d4.
        }

        public int MagicRoll()
        {
            Random r = new Random();
            return r.Next(5, 16) + this.Int;     //Please note that maxValue is exclusive.
        }
    }
}
